<?php
/**
 * Created by xiaokengge
 * User: zhaoyu
 * Date: 2024/1/17
 * Time: 13:18
 *describe:****
 */

namespace app\admin\controller;


use app\common\controller\Backend;

class Common extends Backend
{

    public function moduleType()
    {
        if ($this->request->isAjax()) {
            $data = [
                'rows' => [
                    [
                        'id' => 1,
                        'type' => '环境'
                    ], [
                        'id' => 2,
                        'type' => '产品'
                    ]
                ], 'total' => 2

            ];
            return json($data);
        }
    }

}
